<%= error_messages_for 'child' %>

<!--[form:child]-->
<input type="hidden" name="child[type]" value="child" />

<p><label for="child_first_contact">Date of First Contact</label><br/>
<%= date_select 'child', 'first_contact'  %></p>

<p><label for="child_name">Client Name</label><br/>
<%= text_field 'child', 'name'  %></p>

<p><label for="child_school">School</label><br/>
<%= text_field 'child', 'school'  %></p>

<p><label for="child_parent_name">Parent Name</label><br/>
<%= select 'child', 'parent_name', Adult.find(:all).collect {|p| [ p.name, p.id ] } %>

<p><label for="child_case_manager">Case Manager</label><br/>
<%= text_field 'child', 'case_manager'  %></p>

<p><label for="child_victimization_type">Victimization Type</label><br/>
<%= text_field 'child', 'victimization_type'  %></p>

<p><label for="child_primary_crime">Primary Crime</label><br/>
<%= svs_checkboxes :child, :primary_crime, ["Sexual Assault", "Domestic Violence", "Stalking", "Unknown"], @child[:primary_crime]  %></p>

<p><label for="child_all_crimes_involved">All Crimes Involved</label><br/>
<%= svs_checkboxes :child, :all_crimes_involved, ["Sexual Assault", "Domestic Violence", "Stalking", "Unknown"] %></p>
	
<p><label for="child_met_with_cm?">Met with Case Manager</label><br/>
<%= check_box 'child', 'met_with_cm?' %>
</p>

<p><label for="child_followup_provided?">Follow Up Provided</label><br/>
<%= check_box 'child', 'followup_provided?' %>

<p><label for="child_birthday">Birth Date</label><br/>
<%= date_select 'child', 'birthday'  %></p>

<p><label for="child_gender">Gender</label><br/>
<%= radio_button :child, :gender, 'male' %> Male <br/>
<%= radio_button :child, :gender, 'female' %> Female <br/>
</p>

<p><label for="child_ethnic_group">Ethnic Group</label><br/>
<%= svs_checkboxes :child, :ethnic_group, ["Caucasian", "African-American", "Asian-American", "Pacific Islander", "Hispanic", "Native American", "Multi-Racial", "Other"], @child[:ethnic_group] %></p>

<p><label for="child_ethnic_other">Other</label><br/>
<%= text_field 'child', 'ethnic_group'  %></p>

<p><label for="child_relationship_to_perp">Relationship to Perpetrator</label><br/>
<%= svs_checkboxes :child, :relationship_to_perp, ["Father", "Mother", "Female Family Member", "Male Family Member", "Other Non-Related", "Parent's Spouse", "Parent's Partner"], @child[:relationship_to_perp] %></p>

<p><label for="child_underserved_population">Underserved Population</label><br/>
<%= svs_checkboxes :child, :underserved_population, ["Non-English Speaking", "Mental / Emotional Illness", "Physical / Mental Illness", "LGBTQ", "Immigrant or Refugee", "From Rural Area", "From Tribal Area", "Polygamy"], @child[:underserved_population] %></p>


<!--[eoform:child]-->

